////////////////////////////////////////////////////////////////////////////////
// Copyright 2005 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   SO
// AUTHOR           :   Victor.zheng 
// DATE CREATE      :   2005/10/25
// DESCRIPTION      :   a VO file for the function, SO
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2005/10/25   Victor.zheng    1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.login.taskEnquiry.vo;

import com.erp.app.login.taskEnquiry.pk.TaskEnquiryPk;
import com.erp.framework.model.pk.SimplePageEditStylePk;
import com.erp.framework.model.vo.SimplePageEditStyleVo;
import com.erp.framework.types.CustomSqlDate;

/**
* <p>A <strong>VO</strong>(Value Object) is a JavaBean which provides property
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this class is to store the data retrieved from the database,
* and the converted data from the web browsers.
*
* @author          Victor.zheng 
* @version 1.0     2005/10/25
* @since           FrameWork 1.0
*
*/
public class TaskEnquiryVo extends SimplePageEditStyleVo {

	//DB Table Name: T_SO_HDR

	//PK Attributes
	private String companyCode;                      //DB Column Name: COMPANY_CODE
	private String projNo;
	private String lineNo;
	private String taskLineNo;
	private CustomSqlDate approveDate;
	private String taskDesc;
	private String taskType;
	private String dateCompareStatus;

	public String getDateCompareStatus() {
		return dateCompareStatus;
	}

	public void setDateCompareStatus(String dateCompareStatus) {
		this.dateCompareStatus = dateCompareStatus;
	}

	/**
	* Stores the detail child names by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected  void setChildTypesName() {
		//this.childTypesName=new String[2];
		//this.childTypesName[0]="com.erp.app.form.beans.FormApprovalListVo";
		//this.childTypesName[1]="com.erp.app.form.beans.FormAttachmentVo";
	}

	/**
	* Stores the table schema name by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected void setTableSchemaName() {
		this.tableSchemaName="com.erp.app.login.taskEnquiry.schema.TaskEnquirySchema";
	}

	/**
	* Stores the detail child table schema names by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected  void setChildTableSchemaNames() {
		//this.childTableSchemaNames=new String[2];
		//this.childTableSchemaNames[0]="com.erp.app.form.beans.FormApprovalListSchema";
		//this.childTableSchemaNames[1]="com.erp.app.form.beans.FormAttachmentSchema";
	}

	/**
	* Stores the DAO name by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected void setDaoName() {
		this.daoName="com.erp.app.login.taskEnquiry.dao.TaskEnquiryDao";
	}

	/**
	* Stores the biz logic name by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected void setBizLogicName() {
		this.bizLogicName = "com.erp.app.login.taskEnquiry.bizLogic.TaskEnquiryBizLogic";
	}

	/**
	* Returns the primary key for this class.
	* @return      primary key of this class
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	public SimplePageEditStylePk getPageEditStylePk() {
		return new TaskEnquiryPk(this.companyCode, this.projNo, this.lineNo, this.taskLineNo);
	}

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	public String toString() {
		String pkStr = "";

		String colStr = "";

		return "SoHdrVo.toString() is:\n" + pkStr + colStr;
	}

	public CustomSqlDate getApproveDate() {
		return approveDate;
	}

	public void setApproveDate(CustomSqlDate approveDate) {
		this.approveDate = approveDate;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getLineNo() {
		return lineNo;
	}

	public void setLineNo(String lineNo) {
		this.lineNo = lineNo;
	}

	public String getProjNo() {
		return projNo;
	}

	public void setProjNo(String projNo) {
		this.projNo = projNo;
	}

	public String getTaskDesc() {
		return taskDesc;
	}

	public void setTaskDesc(String taskDesc) {
		this.taskDesc = taskDesc;
	}

	public String getTaskLineNo() {
		return taskLineNo;
	}

	public void setTaskLineNo(String taskLineNo) {
		this.taskLineNo = taskLineNo;
	}

	public String getTaskType() {
		return taskType;
	}

	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////

	
	////////////////////////////////////////////////////////////////////////////////
	//Other Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////


}